{template 'common/header'}
<ul class="nav nav-tabs">
	<li {if $do == 'post'}class="active"{/if}><a href="{php echo url('fournet/pcdiy/post');}">个性生成PC站</a></li>
	<li {if $do == 'display'}class="active"{/if}><a href="{php echo url('fournet/pcdiy/display');}">PC站列表</a></li>
</ul>
<style>
.table td span{display:inline-block;margin-top:4px;}
.table td input{margin-bottom:0;}
</style>
{if $do == 'display'}
<div class="panel panel-info">
	<div class="panel-heading">筛选</div>
	<div class="panel-body">
		<form action="./index.php" method="get" class="form-horizontal" role="form">
			<input type="hidden" name="a" value="article" />
			<input type="hidden" name="c" value="site" />
			<input type="hidden" name="do" value="display" />
			
			<div class="form-group">
				<label class="col-xs-12 col-sm-2 col-md-2 control-label">关键字</label>
				<div class="col-sm-6 col-md-8 col-lg-8 col-xs-12">
					<input class="form-control" name="keyword" id="" type="text" value="{$_GPC['keyword']}">
				</div>
				<div class="pull-right col-xs-12 col-sm-2 col-md-2 col-lg-2">
					<button class="btn btn-default"><i class="fa fa-search"></i> 搜索</button>
				</div>
			</div>				
		</form>
	</div>
</div>

<div class="panel panel-default">
	<div class="table-responsive panel-body">
			<div class='alert alert-warning' style='font-size:14px'>
					温馨提示：功能升级中... ...
			</div>						
	</div>
</div>
{$pager}
<script type="text/javascript">
	var category = {php echo json_encode($children)};
</script>
{elseif $do == 'post'}
<div class="clearfix">
<form class="form-horizontal form" action="" method="post" enctype="multipart/form-data">
	<div class="panel panel-default">
		<div class="panel-heading">个性生成PC站</div>
		<div class="panel-body">
			<div class='alert alert-warning' style='font-size:14px'>
					温馨提示：功能升级中... ...
			</div>				
		</div>
</form>
</div>

{/if}
{template 'common/footer'}
